/*		Filename: 	accounting_info.cpp
 *		Author:		彭望
 *		Date:		2012-01-10
 *		Use:		实现计费标准的结构
 */


void CAccountingInfo::set_id(const string& id)
{
		m_id = id;
}
string CAccountingInfo::get_id()
{
		return m_id;
}

void CAccountingInfo::set_stdId(const string& stdId)
{
		m_stdId = stdId;
}
string CAccountingInfo::get_stdId()
{
		retrun m_stdId;
}

void CAccountingInfo::set_startTime(const ptime& startTime)
{
		m_startTime = startTime;
}
ptime CAccountingInfo::get_startTime()
{
		return m_startTime;
}

void CAccountingInfo::set_endTime(const ptime& endTime)
{
		m_endTime = endTime;
}
ptime CAccountingInfo::get_endTime()
{
		return m_endTime;
}

void CAccountingInfo::set_unit(size_t unit)
{
		m_unit = unit;
}
size_t CAccountingInfo::get_unit()
{
		return m_unit;
}

void CAccountingInfo::set_charge(double charge)
{
		m_charge = charge;
}
double CAccountingInfo::get_charge()
{
		return m_charge;
}

void CAccountingInfo::set_deled(bool isDeled)
{
		m_isDeled = isDeled;
}
bool CAccountingInfo::is_deled()
{
		return m_isDeled;
}

void CAccountingInfo::set_memo(const string& memo)
{
		m_memo = memo;
}
string CAccountingInfo::get_memo()
{
		return m_memo;
}
